import React from 'react'

class C extends React.Component {
    render() {
        return (
            <button onClick={this.changeUserInfo.bind(this)}>修改</button>
        )
    }

    changeUserInfo() {
        console.log('llllllll')
        const actions = this.props.actions
        actions.login({
            userid: '123',
            city: 'nanjing'
        })
    }
}


export default C